package com.ruoyi.edubuy.service;

import com.ruoyi.edubuy.domain.ShowShopping;

import java.util.List;

/**
 * 购物车XService接口
 *
 * @author lsj
 * @date 2021-07-13
 */
public interface IShowShoppingService {
    /**
     * 查询购物车X
     *
     * @param shoppingId 购物车XID
     * @return 购物车X
     */
    public ShowShopping selectShowShoppingById(Long shoppingId);

    /**
     * 查询购物车X列表
     *
     * @param showShopping 购物车X
     * @return 购物车X集合
     */
    public List<ShowShopping> selectShowShoppingList(ShowShopping showShopping);

    /**
     * 新增购物车X
     *
     * @param showShopping 购物车X
     * @return 结果
     */
    public int insertShowShopping(ShowShopping showShopping);

    /**
     * 修改购物车X
     *
     * @param showShopping 购物车X
     * @return 结果
     */
    public int updateShowShopping(ShowShopping showShopping);

    /**
     * 批量删除购物车X
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteShowShoppingByIds(String ids);

    /**
     * 删除购物车X信息
     *
     * @param shoppingId 购物车XID
     * @return 结果
     */
    public int deleteShowShoppingById(Long shoppingId);
}
